Introduce mechanism to check standard conformance of headers
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:21:03 +0000 (07:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:21:03 +0000 (07:21 +0100)
commit6f1d3ce238905fc7b4c563a3611576ca25a09a49
tree164961c069a3b70d82d0ce105e9a363d71cacaaf
parentc93bd0e6ea2a0295f56abd4e58cbb0761f299f0d
Introduce mechanism to check standard conformance of headers

While pretty simplistic, it appears to serve the purpose at the moment
(i.e. it spotted two places where a GNU extension was used withou
proper preprocessor conditionals). The "simplistic" here includes that
the checking gets only done for native builds, and ia64 gets excluded
due to its arch-specific header intentionally (for whatever reason)
checking that anonymous struct/unions can be used.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
16 files changed:
extras/mini-os/fs-front.c
tools/fs-back/fs-ops.c
xen/arch/ia64/xen/platform_hypercall.c
xen/arch/x86/platform_hypercall.c
xen/include/Makefile
xen/include/headers.chk [new file with mode: 0644]
xen/include/public/event_channel.h
xen/include/public/grant_table.h
xen/include/public/hvm/hvm_op.h
xen/include/public/io/fsif.h
xen/include/public/io/xs_wire.h
xen/include/public/memory.h
xen/include/public/nmi.h
xen/include/public/physdev.h
xen/include/public/platform.h
xen/include/public/vcpu.h